@function px2rem($px){
    $rem:37.5px;
    @return ($px / $rem) +rem;
}
.clearfix:after{
    content: '';
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}
.scale-1px {
    position: relative;
    border: none;
    &:after{
        content: '';
        position: absolute;
        height: 1px;
        width: 100%;
        bottom: 0;
        -webkit-transform: scaleY(0.5);
        transform: scale(0.5);
        -webkit-transform-origin: 0,0;
        transform-origin: 0,0;

    }
}
// 处理省略号
.one-line{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
// 处理多行省略号
.two-line{
    display: -webkit-box;
    -webkit-line-clamp:2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}